package com.maxsalad.pospal;

/**
 * Created by 2014-400 on 2016-03-10.
 */
public enum PayMethod {
    Cash("Cash", "现金支付"),
    CustomerBalance("CustomerBalance", "示用会员余额支付,接口会根据customerNumber去扣除对应会员的余额");

    private String code;
    private String name;

    PayMethod(String code, String name) {
        this.code = code;
        this.name = name;
    }

    @Override
    public String toString() {
        return this.code;
    }

    public String toCnString() {
        return this.name;
    }
}
